package com.hwy.catering.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 *
 * @TableName tb_meal
 */
@Data
@TableName("tb_meal")
public class Meal extends BaseEntity implements Serializable {

    /**
     * 套餐类别id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long categoryId;

    /**
     * 套餐名称
     */
    private String name;

    /**
     * 套餐价格
     */
    private BigDecimal price;

    /**
     * 套餐状态  0：在售 1：下架
     */
    private Integer state;

    /**
     * 套餐排序
     */
    private Integer sort;


    private static final long serialVersionUID = 1L;
}
